//
//  UIView+JSAniamtion.h
//  JSFoundationProject
//
//  Created by mac on 17/6/28.
//  Copyright © 2017年 JSON. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIView (JSAniamtion)

@property (nonatomic, copy) void(^showAnimationCompletion)(UIView *);
@property (nonatomic, copy) void(^hideAnimationCompletion)(UIView *);
@property (nonatomic, assign) BOOL clickMaskHiden;

/**
 *  从上往下推出
 */
-(void)transformAnimation1;
-(void)hidenAnimation1;
// 从下面推出
- (void)showMaskView;
- (void)hidenMaskView;
// 透明度渐变
- (void)showMaskViewAlpha;
- (void)hidenMaskViewAlpha:(BOOL)animation;

/**
 * 当View状态发生变化时的过渡动画 水波纹
 */
- (void)js_beginRippleAnimation;
/**
 * 当view出现时，扩大缩小效果
 */
-(void)js_alertAnimation;
@end
